﻿using BestTrader.Cms.ViewModels;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BestTrader.Cms.UserCenter.Validation
{
    public class AuditCustomInCoinValidation : AbstractValidator<AuditCustomInCoinModel>
    {
        public AuditCustomInCoinValidation()
        {
            RuleFor(x => x.Money).GreaterThan(0).WithMessage("用户金额不能为空");
            RuleFor(x => x.RMBMoney).GreaterThan(0).WithMessage("用户金额不能为空");
            // 用户未审核

        }
    }
}
